package com.rxb.blog.mapper;

import com.rxb.blog.entity.ArticlePraiseEntity;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * Author：rxb
 * Date：2020-02-26 20:24
 * Description：<描述>
 */
@Repository
public interface ArticlePraiseMapper {


    ArticlePraiseEntity selectByBlogIdAndUsername(Map map);

    void insertArticlePraise(Map map);

    void updateArticlePraise(Map map);

    ArticlePraiseEntity getPraise(Map map);

    int selectPraiseNum(Map map);

    int selectPraiseDownNum(Map map);
}
